import core, { $ } from "../index.js";
// let url = window.location.href;

import './assets/css/index.less';

$(".lala").on('click', function () {
    console.log(this);
})

// let res = URL(url).addQuery({ a: 2, b: 2, ll: "3&", d: '3' });


function ani() {
    $('.lala').domList.forEach((dom) => {
        dom.style.backgroundColor = core.getRandomColor();
    })
    setTimeout(function () {
        ani();
    }, 1000);
}


ani();

console.log(core.getRandomColor())